using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class BeginPanel : BasePanel<BeginPanel>
{
    public CustomGUIButton btnBegin;
    public CustomGUIButton btnSetting;
    public CustomGUIButton btnQuit;
    public CustomGUIButton btnCharts;

    // Start is called before the first frame update
    void Start()
    {
        Cursor.lockState = CursorLockMode.Confined;
        btnBegin.clickEvent += () => { SceneManager.LoadScene("GameScene"); };
        btnSetting.clickEvent += () =>
        {
            SettingPanel.Instance.ShowMe();
            HiddenMe();
        };
        btnQuit.clickEvent += () => { Application.Quit(); };
        btnCharts.clickEvent += () => { };
    }
}